package com.moneywelcome.orderassembly.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 赎回记录表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class RedeemRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "redeem_id", type = IdType.AUTO)
    private Integer redeemId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 赎回交易编号
     */
    private String redeemSerial;
    /**
     * 持仓id
     */
    private Long financialId;
    /**
     * 黄金id
     */
    private Integer goldId;
    /**
     * 黄金名
     */
    private String variety;
    /**
     * 赎回时间
     */
    private String redeemTime;
    /**
     * 完成时间
     */
    private String completeTime;
    /**
     * 赎回费额
     */
    private Double redeemCharge;

    /**
     * 赎回份额
     */
    private Double redeemShares;

    /**
     * 赎回单价
     */
    private Double redeemPrice;

    /**
     * 赎回费率
     */
    private Double redeemRate;
    /**
     * 收款账号
     */
    private Long redeemAccount;

    /**
     * 订单状态;0:未完成,1:已完成
     */
    private Integer redeemRecordStatus;

    /**
     * 记录新增时间
     */
    private String rawAddTime;

    /**
     * 更新时间
     */
    private String rawUpdateTime;


}
